package com.candy.th;

/**
 * @author donglin
 * @Title:
 * @类名: Thread02
 * @date 2020/9/8
 */
public class Thread02 implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i <10 ; i++) {
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("实现runnable方式运行"+i);
        }

    }
}
